<!DOCTYPE html>
<html>
	<head>
		<title>PikujsTree</title>
		<link type="text/css" rel="stylesheet" href="/css/site.css" />
	</head>
	<body>
		<a href="/sign?type=new">
			Register
		</a>
			<br />
		<table class="full" border="1">
			<tbody>
				<tr>
					<td>
						User Usi
					</td>
					<td>
						First Name
					</td>
					<td>
						Last Name
					</td>
					<td>
						Date of birth
					</td>
					<td>
						Sex
					</td>
					<td>
						Spouse Usi
					</td>
					<td>
						Father Usi
					</td>
					<td>
						Mother Usi
					</td>
					<td>
						Created Date
					</td>
					<td>
						x
					</td>
					<td>
						y
					</td>
					<td>
						Links
					</td>
				</tr>
				{% for user in users %}
					<tr>
						<td>
							{{ user.usi }}
						</td>
						<td>
							{{ user.firstname }}
						</td>
						<td>
							{{ user.lastname }}
						</td>
						<td>
							{{ user.dob }}
						</td>
						<td>
							{{ user.sex }}
						</td>
						<td>
							{{ user.spouseusi }}
						</td>
						<td>
							{{ user.fatherusi }}
						</td>
						<td>
							{{ user.motherusi }}
						</td>
						<td>
							{{ user.createddate }}
						</td>
						<td>
							{{ user.x }}
						</td>
						<td>
							{{ user.y }}
						</td>
						<td>
							<a href="/sign?type=edit&usi={{ user.usi }}">Edit</a>  |  <a href="/detail?usi={{ user.usi }}">Detail</a> | <a href="/delete?usi={{ user.usi }}">Delete
						</td>
					</tr>
				{% endfor %}
			</tbody>
		</table>
	</body>
</html>


